drop table erp_parameter


/****** Object:  Table [dbo].[erp_parameter]    Script Date: 06/24/2010 15:12:53 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[erp_parameter](
	[report_id] [int] NOT NULL,
	[script] [text] NOT NULL,
	[report_path] [text] NOT NULL,
	[is_sp] [numeric](18, 0) NOT NULL,
	[detail_report_path] [varchar](200) not NULL,
	[summary_report_path] [varchar](200) not NULL,
	[report_title] [varchar](200) not NULL,
	[is_summary] [bit] not NULL
 CONSTRAINT [PK_erp_parameter] PRIMARY KEY CLUSTERED 
(
	[report_id] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO

ALTER TABLE [dbo].[erp_parameter] ADD  DEFAULT ((0)) FOR [report_id]
GO

ALTER TABLE [dbo].[erp_parameter] ADD  DEFAULT ('') FOR [script]
GO

ALTER TABLE [dbo].[erp_parameter] ADD  DEFAULT ('') FOR [report_path]
GO

ALTER TABLE [dbo].[erp_parameter] ADD  DEFAULT ((0)) FOR [is_sp]
GO

ALTER TABLE [dbo].[erp_parameter] ADD  DEFAULT ((0)) FOR [is_summary]
GO

